package com.api.shopapi.service;

import com.api.shopapi.entity.CheckinAssessItem;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author maochuan
 */
@Service
public interface CheckinAssessItemService {
    int insert(CheckinAssessItem checkinAssessItem);

    int updateByCheckinAssessItemCode(CheckinAssessItem checkinAssessItem);

    int deleteByCheckinAssessItemCode(String checkinAssessItemCode);

    List<CheckinAssessItem> getListAll();

    CheckinAssessItem getByCheckinAssessItemCode(String checkinAssessItemCode);

    CheckinAssessItem getByCheckinAssessGroupCodeAndName(String checkinAssessGroupCode, String name);

    List<CheckinAssessItem> getByCheckinAssessGroupCode(String checkinAssessGroupCode);

    int deleteByCheckinAssessGroupCode(String checkinAssessGroupCode);
}
